home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 October
/
PCWorld_1999-10_cd1.bin
/
Software
/
Servis
/
X-setup
/
_SETUP.1
/
XQ Shortcut 2.xpl
< prev
next >
Wrap
Text File
|
1999-06-11
|
2KB
|
81 lines
"FILE"="Xteq Systems X-Setup Plugin 3.1"
"TYPE"="6"
"COUNT"="1"
"UIPATH"="Appearance\Explorer\Shortcuts"
"NAME"="Prefix"
"LANGUAGE"="VBScript"
"TEXT 1"="Use prefix "Shortcut to..." for new shortcuts"
"DESCRIPTION 1"="Normally, Windows adds the text "Shortcut to" to any new shortcut you create."
"DESCRIPTION 2"="If you do not like this, deactivate this option."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
"COMMENT 2"="Version 1.3"
"COMMENT 3"=" "
"COMMENT 4"="Thanks to Siegfried Burgstedt (siegfried.burgstedt@gmx.net)"
"COMMENT 5"="Thanks to David Goodenough (dpg@ix.netcom.com) for the Win95 fix"
Sub Plugin_Initialize
s=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Link")
if GetWinVer=1 then
if IsEmpty(s) then
SetUIElement 1, true
end if
else
if IsEmpty(s) then
SetUIElement 1,false
else
if s="00000000" then
SetUIElement 1,false
else
SetUIElement 1, true
end if
end if
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
'Fix #2
if GetWinVer=1 then
if b=true then
Call RegDeleteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Link")
else
Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Link","00000000",3)
end if
else
if b=true then
'Fix #1
'Call RegDeleteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Link")
Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Link","30000000",3)
else
'Fix #2
'Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Link","00000000",3)
Call RegDeleteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Link")
end if
end if
Restart
End Sub
Sub Plugin_Terminate
End Sub